#ifndef COMPILER_ONLINE
#include "header.cpp"
#endif

void Test1()
{
    vector<int> v = {1,2,3,4,5,5,67,7, -1};
    int ret = Solution().Max(v);
    if(ret == 67)
    {
        std::cout << "Test1......OK" << std::endl;
    }
    else
    {
        std::cout << "Test1......Failed" << std::endl;
    }
}

void Test2()
{
    vector<int> v = {-1,-2,-3,-4,-5,-5,-67,-7, -1};
    int ret = Solution().Max(v);
    if(ret == -1)
    {
        std::cout << "Test2......OK" << std::endl;
    }
    else
    {
        std::cout << "Test2......Failed" << std::endl;
    }
}

int main()
{
    Test1();
    Test2();
    return 0;
}